package com.andrew.demo.dao;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
@Transactional
public interface BaseDao<T> {

    List<T> QueryList() throws ClassNotFoundException, InstantiationException, IllegalAccessException;

    List<T> QueryList(T t) throws ClassNotFoundException, InstantiationException, IllegalAccessException, NoSuchFieldException;

}
